package Ch9;

import java.util.*;

public class RandomEx {

	public static void main(String[] args) {
		double a = Math.random();
		Random random = new Random();
		double b = random.nextDouble();
		System.out.println(a);
		System.out.println(b);
	}
}
